// 路由
const {
	Service
} = require('uni-cloud-router')
// 导出一个类
module.exports = class ProjectService extends Service {
	async activityDB() {
		const db = uniCloud.database();
		// 获取 `project-activity` 集合的引用
		const collection = db.collection('project-activity');
		return collection;
	}
}
